<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<title>商户登录 - <?=$conf['sitename']?></title>
	<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
	<link rel="icon" href="<?=STATIC_ROOT?>img/icon.ico" type="image/x-icon"/>

	<!-- Fonts and icons -->
	<script src="<?=STATIC_ROOT?>js/plugin/webfont/webfont.min.js"></script>

	
	<!-- CSS Files -->
	<link rel="stylesheet" href="<?=STATIC_ROOT?>css/bootstrap.min.css">
	<link rel="stylesheet" href="<?=STATIC_ROOT?>css/azzara.min.css">
</head>
<body class="login">
    <div class="wrapper wrapper-login">
		<div class="container container-login animated fadeIn">
			<h3 class="text-center">欢迎注册</h3>
			<div class="login-form">
				<div class="form-group form-floating-label">
					<input id="username" name="username" type="text" class="form-control input-border-bottom" required>
					<label for="fullname" class="placeholder">用户名:</label>
				</div>
				<div class="form-group form-floating-label">
					<input  id="password" name="password" type="password" class="form-control input-border-bottom" required>
					<label for="passwordsignin" class="placeholder">密码:</label>
					<div class="show-password">
						<i class="flaticon-interface"></i>
					</div>
				</div>
				<div class="form-group form-floating-label">
					<input  id="qq" name="qq" type="text" class="form-control input-border-bottom" required>
					<label for="qq" class="placeholder">QQ:</label>
				</div>
				<div class="form-group form-floating-label">
					<input  id="email" name="email" type="text" class="form-control input-border-bottom" required>
					<label for="email" class="placeholder">邮箱:</label>
				</div>
				<?php 
                    if($conf['verifytype'] == 'phone'){
                        
                        echo '<div class="form-group form-floating-label">
        					<input  id="phone" name="phone" type="text" class="form-control input-border-bottom" required>
        					<label for="phone" class="placeholder">手机号:</label>
        				</div>';
                        $name1="请输入短信验证码";
                    }
                ?>
					<div class="form-group form-floating-label"  style="display: none;"  id="emailCodeBlock" >
					<div class="input-group">
				            <input type="text" class="form-control input-border-bottom" placeholder="图片验证码" id="code_input" name="code_input">
    					    <img  id="captcha" class="pull-right" src="/api/captcha" title="看不清 换一个" alt="captcha" style="width: 120px;height: 38px;"/>
				</div>
				</div>
					<div class="form-group form-floating-label" style="">
					<div class="input-group">
					<input type="text" class="form-control input-border-bottom" placeholder="<?=$name1?>" id="code" name="code"><button class="btn-primary input-group-text" id="sendcode">发送验证码</button>
				</div>	
				</div>	
				<div class="row form-sub m-0">
					<div class="custom-control custom-checkbox">
						<input type="checkbox" class="custom-control-input" name="agree" id="agree">
						<label class="custom-control-label" for="agree"><i></i>同意 </label><a href="/User/Login/Term" target="_blank"> 我们的条款</a>
					</div>
				</div>
				<div class="form-action">
					<a href="#" class="btn btn-primary btn-rounded btn-login" id="reg">确认注册</a>
				</div>
				</div>
				<div class="login-account">
					<span class="msg">已有账户了 </span>
					<a href="/User/login" id="show-login" class="link">返回登录</a>
			</div>
		</div>
	</div>
	<script src="<?=STATIC_ROOT?>js/core/jquery.3.2.1.min.js"></script>
	<script src="<?=STATIC_ROOT?>js/plugin/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
	<script src="<?=STATIC_ROOT?>js/core/popper.min.js"></script>
	<script src="<?=STATIC_ROOT?>js/core/bootstrap.min.js"></script>
	<script src="<?=STATIC_ROOT?>js/ready.js"></script>
    <script src="<?=LayerJS?>"></script>
    <script src="<?=CommonJs?>"></script>
    <script src="<?=CaptchaJS?>"></script>
   
	<script src="<?=STATIC_ROOT?>core_js/reg.js"></script>
</body>
</html>